package com.yanqu.road.entity.activity.summerquiz.config;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.List;

@FieldTypeAnnotation(tableName = "t_s_activity_summer_quiz", desc = "竞猜题目")
public class SummerQuizInfo {

    @FieldTypeAnnotation(select = true, desc = "活动id")
    private int activityId;

    @FieldTypeAnnotation(desc = "id", orderASC = true)
    private int id;

    @FieldTypeAnnotation(desc = "比赛日期")
    private long date;

    @FieldTypeAnnotation(desc = "开始竞猜日期")
    private long beginQuiz;

    @FieldTypeAnnotation(desc = "开始时间点")
    private long beginQuizEx;

    @FieldTypeAnnotation(desc = "结束竞猜日期")
    private long endQuiz;

    @FieldTypeAnnotation(desc = "结束时间点")
    private long endQuizEx;

    @FieldTypeAnnotation(desc = "初始赔率")
    private List<Integer> initialOdds;

    @FieldTypeAnnotation(desc = "问题")
    private List<String> question;

    @FieldTypeAnnotation(desc = "比赛项目")
    private List<String> project;

    @FieldTypeAnnotation(desc = "banner图类型")
    private int bannerType;

    @FieldTypeAnnotation(desc = "结果")
    private int result;

    public long getBeginGuizTime(){
        return this.beginQuiz + this.beginQuizEx;
    }

    public long getEndGuizTime(){
        return this.endQuiz + this.endQuizEx;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public long getDate() {
        return date;
    }

    public void setDate(long date) {
        this.date = date;
    }

    public long getBeginQuiz() {
        return beginQuiz;
    }

    public void setBeginQuiz(long beginQuiz) {
        this.beginQuiz = beginQuiz;
    }

    public long getBeginQuizEx() {
        return beginQuizEx;
    }

    public void setBeginQuizEx(long beginQuizEx) {
        this.beginQuizEx = beginQuizEx;
    }

    public long getEndQuiz() {
        return endQuiz;
    }

    public void setEndQuiz(long endQuiz) {
        this.endQuiz = endQuiz;
    }

    public long getEndQuizEx() {
        return endQuizEx;
    }

    public void setEndQuizEx(long endQuizEx) {
        this.endQuizEx = endQuizEx;
    }

    public List<Integer> getInitialOdds() {
        return initialOdds;
    }

    public void setInitialOdds(List<Integer> initialOdds) {
        this.initialOdds = initialOdds;
    }

    public List<String> getQuestion() {
        return question;
    }

    public void setQuestion(List<String> question) {
        this.question = question;
    }

    public List<String> getProject() {
        return project;
    }

    public void setProject(List<String> project) {
        this.project = project;
    }

    public int getBannerType() {
        return bannerType;
    }

    public void setBannerType(int bannerType) {
        this.bannerType = bannerType;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }
}
